#ifndef __M_LED_H_
#define __M_LED_H_

#include "sys.h"

typedef enum
{
    RESET,
    SET
} m_led_enum_t;

typedef struct
{
    uint8_t matrix_led_x_count;
    uint8_t matrix_led_y_count;
    uint8_t matrix_mode;
    uint8_t matrix_dis_num;
    uint16_t matrix_tick;
} m_led_t;

void matrix_set_x_port_data(uint8_t x_port_data);
void matrix_set_y_port_data(uint8_t y_port_data);
void matrix_led_blanking(void);
void matrix_led_dis_num(int8_t x, int8_t y, uint8_t num);
void matrix_led_demo(void);

#endif
